package cn.mw.cmdb.view;

import java.util.HashMap;
import java.util.Map;

public class ViewConvertContext {
    public static final String MwuserApiKey = "mwUserApi";
    public static final String MwTPServerServiceKey = "mwTPServerService";
    public static final String MwEngineManageServiceKey = "mwEngineManageService";

    public static final String FieldViewAuthTypeKey = "fieldViewAuthType";

    public static final String ViewManagerKey = "viewManager";
    private Map<String ,Object> context = new HashMap<>();
    //需要转换的类型
    private String type;

    private Object paramData;
    //是否隐藏资产状态
    private Boolean hideStatusFlag;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void put(String key, Object value){
        context.put(key ,value);
    }

    public Object get(String key){
        return context.get(key);
    }

    public Object getParamData() {
        return paramData;
    }

    public void setParamData(Object paramData) {
        this.paramData = paramData;
    }

    private String selectDropType;

    public String getSelectDropType() {
        return selectDropType;
    }

    public Boolean getHideStatusFlag() {
        return hideStatusFlag;
    }

    public void setHideStatusFlag(Boolean hideStatusFlag) {
        this.hideStatusFlag = hideStatusFlag;
    }

    public void setSelectDropType(String selectDropType) {
        this.selectDropType = selectDropType;
    }
}
